package vsion.demo.dao.safty;

import org.apache.ibatis.annotations.Select;
import vsion.demo.dto.UserDto;
import vsion.demo.model.SysUser;

/**
 * @author Vsion
 * @date 2019/9/28 11:29
 */
public interface LoginDao {
    @Select("select u_id,u_name from sys_user where u_id=#{u_id} and u_pwd=#{u_pwd}")
    SysUser findUserByIdAndPwd(UserDto dto);
}
